package com.duofan.gmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.duofan.gmall.common.utils.PageUtils;
import com.duofan.gmall.product.entity.BrandEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌
 *
 * @author Vincent
 * @email wu_peizhen@126.com
 * @date 2023-05-07 21:43:27
 */
public interface BrandService extends IService<BrandEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 更新关联表冗余字段
     * @param brand
     */
    void updateCascade(BrandEntity brand);

    List<BrandEntity> getByIds(List<Long> brandIds);
}

